package com.cxrj.zhsq.civilianManage.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.cxrj.zhsq.civilianManage.entity.Civilian;
import com.cxrj.zhsq.civilianManage.entity.CivilianType;
import com.cxrj.zhsq.civilianManage.entity.LegalService;

public interface CivilianService {

	Map<String, Object> seleteCivilianPage(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> insertCivilian(Civilian civilian);

	Map<String, Object> updateCivilian(Civilian civilian);

	Map<String, Object> deleteCivilian(String code);

	Map<String, Object> seleteCivilianTypePage(HttpServletRequest request, HttpServletResponse response);

	Map<String, Object> seleteCivilianAll();

	Map<String, Object> insertCivilianType(CivilianType civilianType);

	Map<String, Object> updateCivilianType(CivilianType civilianType);

	Map<String, Object> deleteCivilianType(String id);

	Map<String, Object> selectByCivilianCode(String code, String status);

	Map<String, Object> seleteCivilianByStatus();
	
	Map<String, Object> selectLegalService(String code, String dataIndex, String pageCount);
	
	Map<String, Object> selectLegalServicePage(HttpServletRequest request, HttpServletResponse response);
	
	Map<String, Object> insertAndUpdateLegalService(LegalService legalService);
	
	Map<String, Object> selectLegalServiceById(String id);
	
	Map<String, Object> updateLegalService(String id);
	
}
